LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE:= libtestNativeService
LOCAL_MODULE_TAGS := optional
LOCAL_PROPRIETARY_MODULE := true

LOCAL_SRC_FILES:= \
    ITestNativeService \
    TestNativeService

LOCAL_SHARED_LIBRARIES := \
    libbinder \
    libcutils \
    liblog \
    libutils

LOCAL_CFLAGS := -O3 -Wall -DLOG_NDEBUG=0
LOCAL_MULTILIB := both
include $(BUILD_SHARED_LIBRARY)

##########################################
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PROPRIETARY_MODULE := true
LOCAL_SRC_FILES := main.cpp

LOCAL_SHARED_LIBRARIES := \
    libbinder \
    libutils \
    libtestNativeService
LOCAL_CFLAGS := -O3 -Wall -DLOG_NDEBUG=0
LOCAL_MODULE := TestNativeService
include $(BUILD_EXECUTABLE)